package com.paypalpay.mapper;

import com.paypalpay.entity.common.DevicePartnerAccess;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DevicePartnerAccessMapper {

    public void putInPartnerAccessInfo(DevicePartnerAccess access);

    public List<DevicePartnerAccess> getPartnerAccessList(@Param("partnerCode") String partnerCode, @Param("deviceId")String deviceId, @Param("deviceType")String deviceType,@Param("requestOrderId")String requestOrderId);

    public int findExitOrNotByAccess(@Param("token")String token,@Param("partnerCode") String partnerCode, @Param("deviceType")String deviceType);
}
